ElasticPress\Indexable D

Total Complexity 136
Dependencies 8
Dependents 2
Total lines 1,278
Lines of code 603
Logical lines of code 296
Comment lines 507
Methods 32
Properties 6

Methods 32

Method Rating Maintainability Complexity Lines of code
build_meta_query()
D
20
47 256
send_bulk_index_request()
B
37 20 75
prepare_date_meta_values()
S
54 7 19
get_index_name()
S
51 6 28
get_all_distinct_values()
S
52 6 24
prepare_meta_value_types()
S
53 6 24
bulk_index_dynamically()
S
51 4 26
elasticpress_enabled()
S
62 4 11
get_distinct_meta_field_keys()
S
57 3 15
index()
S
60 3 13
bulk_index()
S
57 2 17
prepare_meta_types()
S
63 3 10
is_full_reindexing()
S
66 3 8
get_network_alias()
S
61 2 11
compare_mappings()
S
65 2 8
query_es()
S
69 2 6
add_ngram_analyzer()
S
63 1 11
index_exists()
S
79 1 3
delete_index()
S
79 1 3
multi_get()
S
78 1 3
get_mapping()
S
80 1 3
get()
S
78 1 3
delete()
S
74 1 4
put_mapping()
S
75 1 4
prepare_document()
S
100 1 0
query_db()
S
100 1 0
generate_mapping()
S
75 1 4
get_search_algorithm()
S
73 1 4
create_network_alias()
S
79 1 3
delete_network_alias()
S
80 1 3
setup()
S
98 1 1
get_bulk_items_per_page()
S
79 1 3